<?php
/*********************/
/*                   */
/* http://www.ymd.cc */
/*********************/
/*    QQ: 11121426   */
/*                   */
/*********************/

function getdeliverycorplist()
{
    $list = array(
        array("corp_id" => "1", "name" => "EMS", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://www.ems.com.cn/qcgzOutQueryAction.do?reqCode=gotoSearch", "company_code" => "EMS"),
        array("corp_id" => "2", "name" => "e邮宝", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://www.ems.com.cn/qcgzOutQueryAction.do?reqCode=gotoSearch", "company_code" => "OTHER"),
        array("corp_id" => "3", "name" => "申通E物流", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://www.sto.cn", "company_code" => "STO"),
        array("corp_id" => "4", "name" => "天天快递", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "http://www.ttkdex.com/pages/kjzz.jsp", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "", "company_code" => "TTKDEX"),
        array("corp_id" => "5", "name" => "宅急送", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://www.zjs.com.cn/WS_Business/WS_Business_GoodsTrack.aspx?id=4", "company_code" => "ZJS"),
        array("corp_id" => "6", "name" => "韵达快运", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://www.yundaex.com/", "company_code" => "YUNDA"),
        array("corp_id" => "7", "name" => "圆通速递", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://www.yto.net.cn/service/service.asp", "company_code" => "YTO"),
        array("corp_id" => "8", "name" => "中通速递", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://www.zto.cn/bill.html", "company_code" => "ZTO"),
        array("corp_id" => "9", "name" => "汇通快递", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://www.htky365.com", "company_code" => "HTKY"),
        array("corp_id" => "10", "name" => "顺丰快递", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://www.sf-express.com/tabid/68/Default.aspx", "company_code" => "SF"),
        array("corp_id" => "11", "name" => "一统快递", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "", "company_code" => "ITO"),
        array("corp_id" => "12", "name" => "亚风快递", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://www.airfex.net/asp-bin/GB/index_GB.asp", "company_code" => "亚风"),
        array("corp_id" => "13", "name" => "全一快递", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://www.apex100.com/postquery.aspx", "company_code" => "APEX"),
        array("corp_id" => "14", "name" => "小红马快递", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://chx.ponyex.com.cn", "company_code" => "PONYEX"),
        array("corp_id" => "15", "name" => "龙邦快递", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://www.lbex.com.cn", "company_code" => "LBEX"),
        array("corp_id" => "16", "name" => "长宇快递", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://www.cyexp.com/Kuaijian.asp", "company_code" => "CYEXP"),
        array("corp_id" => "17", "name" => "大田快递", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://www.dtw.com.cn/chn/ld/inquiry_2.htm", "company_code" => "DTW"),
        array("corp_id" => "18", "name" => "长发快递", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://www.yud.com.cn/yudlogistics/menu/yudExpressSearch.jsp", "company_code" => "YUD"),
        array("corp_id" => "19", "name" => "希伊艾斯快递（原中诚）", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://www.cces.com.cn", "company_code" => "OTHER"),
        array("corp_id" => "20", "name" => "风火天地", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "http://www.efunhome.com/trace.php", "company_code" => "OTHER"),
        array("corp_id" => "21", "name" => "中国邮政-平邮", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "", "company_code" => "POST"),
        array("corp_id" => "22", "name" => "联邦快递", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "", "company_code" => "FEDEX"),
        array("corp_id" => "23", "name" => "不需要物流", "recommend" => "", "lssd" => "", "notice_events" => "", "max_limit_price" => "", "lost_compensation_desc" => "", "lost_ompensation_details" => "", "breakage_compensation_desc" => "", "breakage_compensation_details" => "", "company_name" => "", "logo" => "", "service_tel" => "", "complaints_tel" => "", "company_desc" => "", "service_terms" => "", "query_interface" => "", "company_code" => "virtual_goods")
    );
    return $list;
}

function delivercorp_index($key)
{
    $list = array("EMS" => 1, "e邮宝" => 2, "申通E物流" => 3, "天天快递" => 4, "宅急送" => 5, "韵达快运" => 6, "圆通速递" => 7, "中通速递" => 8, "汇通快递" => 9, "顺丰快递" => 10, "一统快递" => 11, "亚风快递" => 12, "全一快递" => 13, "小红马快递" => 14, "龙邦快递" => 15, "长宇快递" => 16, "大田快递" => 17, "长发快递" => 18, "希伊艾斯快递（原中诚）" => 19, "风火天地" => 20, "中国邮政-平邮" => 21, "联邦快递" => 22, "不需要物流" => 23);
    return $list[$key];
}

function getCompany_code($id)
{
    $list = getdeliverycorplist();
    return $list[$id]['company_code'];
}

?>
